fix being able to do multiple things to selected records & hide menu once an action is done