Add an inDialog config option in ve.ui.Surface
When creating a surface, allow for setting a property for which
dialog the surface is in.
This is mostly helpful for certain tools that require
different operation when they are applied on the main surface
rather than a dialog surface. The best example of those is the
citation tools, which require a different operation when they
are activated within the reference dialog.