updated add, edit, and view user popup to toggle ok and save buttons