Re implemented dialog using DialogFragment. First step to UI amelioration.