<!DOCTYPE html><?php header('Content-Type: text/html; charset=utf-8'); ?>
<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>