close webpage on dispose