only close open modals.  good point john