more tweaks for the modals