add DialogHelper.java to help creating the dialogs