/// <summary>
        /// Ensures that the specified <see cref="ContainerPage"/> is stopped, regardless of whether or not it is visible.
        /// </summary>
        /// <param name="page"></param>
        protected void EnsureStopped(ContainerPage page)
        {
            PageHost host = _mapPageToHost[page];

            if (host.IsStarted)
            {
                host.StopComponent();
                page.Component.ModifiedChanged -= Component_ModifiedChanged;
            }
        }