add popup open and close events, close #612