hasModal( name, context ) {
		return !!this.modals.find( ({ name: n, context: c }) =>
			// match by context, optionally with name
			   c === context && ( !name || n === name )
			// match only by name
			|| !context && n === name
		);
	}
@param {string?} name
@param {Object?} context
@return {boolean}