Added close button that send a close message using postMessage.