embed code box: added close button, assigned auto-select for code inside textarea