FIX: edit category modal with no title, empty modals that can't be closed. Added a better way to hide a modal without really closing it.