clear edit panel when new is selected