[Bug 5378] Dialog created by PropertySheet API won' t close unless mouse is moved