Fixed notifications and accounts modals opening logic