Fix to make sure correct modals come up when deploying and deleting
projects