format modals