create a dialog feature