private void promptToDelete()
 {
     if (lvPermissionTemplates.SelectedItems.Count > 0)
     {
         if (DialogResult.Yes == MessageBox.Show(this, "Are you sure you want to delete permission template(s)?\n\nThis will not delete any permissions or alter any user permissions in any way.", "Delete Permission Template(s)?", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
         {
             foreach (ListViewItem lvi in lvPermissionTemplates.SelectedItems)
             {
                 AdminProxy.DeletePermissionTemplate(Toolkit.ToInt32(lvi.Tag, -1));
             }
             MainFormUpdateStatus("Deleted " + lvPermissionTemplates.SelectedItems.Count + " permission templates.", true);
             RefreshData();
         }
     }
 }