Added support for showing message boxes