change modals so links make it disappear