adding widget stop event.