<?php header('Content-Type: text/html; charset=utf-8'); ?><!DOCTYPE html>
<html>
<body>
	<h3>Custom dialog</h3>
	Input some text: <input id="content">
	<button onclick="top.tinymce.activeEditor.windowManager.getWindows()[0].close();">Close window</button>
</body>
</html>