fixes to the modals