dismiss notification in onclick event