fix bug , the messagebox not cancel button