added convenience functions to MessageBox