edit patient dialog and changed patient view some