refactor(view) onOverlayClick