Added self-dismiss after a time period