Fix/4.0.x/soc 3247

Fix description: In header section, add return false in javascript if the event (Save/Cancel) is not actually fired.