add MessageBox to sample app