working modals for all forms