small fix for popap add/edit in admin panel