Remove changed class after saveModal completes successfully to skip unload handler.