Fix notifications not showing after closing modal.