various new features and tweaks to support different types of actions in a modal
edit form button fixes