$popup.children(":button")
.unbind(CLICK)
.bind(CLICK, function() {
var $text = $popup.find(":text"),
url = $.trim($text.val());
if(url !== "")
execCommand(editor, data.command, url, null, data.button);
$text.val("http://");
hidePopups();
focus(editor);
});