added popup to add/edit works on the app form