allow clicking buttons in preview mode
delete with password