Add new and edit actions to policy generator