MessageBox enhancement

Button codes and box types are now accessible as attributes.