modals close if done probably