Use the normal event bindings to perform the close/blur event. Set content directly in the template.
Attach a file by drag & drop or click to upload