error message when no patient selected in edit patient