try timeout for modals