ModalHelper

Creates a fullscreen background for the modal widgets. You can specify background sprite, color, and action on click.

modalID = ModalHelper.Open(this, background_sprite, background_color, onclick);
//...
ModalHelper.Close(modalID);