providing confirmation alert before proper deletion

also, renamed editRecord to editSearcher