Added function to test if workflow exists
Added alert dialog for adding a workflow