modified dialog to form