refactored save button in security pmo, added a wait on pmo