fix dialog error
fix Q.MessageBox event