finish modals, clean up