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