fixes for standard modals