fix issue with conflicting close event binding on messaging and model layer