modified dialog to have positive and negative actions