add onClose function option when using hover model

delete a console.log segment