changed behavior of modal dialogs (lock, unlock, delete)
fixed error on deleting an album