Edit and Delete with Dialog working for UNITS