alert dialog functionality added whenever the create project button is displayed