added event to handle when select2 is being closed #44