fix MessageBox on Front