Now the modals for resuming note and login in work again