Rewrite the 'WarnLeavingUnsaved' js class using jQuery
Fix warning message when closing work package modal with changes