added helper methods showDialog / dismissDialog into a BaseActivity for displaying fragment-based dialogs (DialogFragment)