Functions
constructors/destructors
XModelessDialog