<button id="press">Open Dialog</button>
<div id="editor"></div>
<script>
	if ( bender.tools.env.mobile ) {
		bender.ignore();
	}

	var editor = CKEDITOR.replace( 'editor' );

	CKEDITOR.once( 'instanceLoaded', function() {
		CKEDITOR.dialog.add( 'testDialog', function() {
			return {
				title: 'Test dialog',
				contents: [
					{
						id: 'tab1',
						label: 'Tab one',
						elements: [
							{
								type: 'html',
								id: 'field11',
								html: 'foo'
							},
							{
								type: 'radio',
			