Implemented modern modals