reset rubber band when closing dialog