now popup panel works for save

continue working on deregister