Bug 1007600 - Support inline activity

https://bugzilla.mozilla.org/show_bug.cgi?id=1007600
I think we can move this few lines below to make sure `initialPanel.innerHTML=initialPanel.firstChild.textContent;` is called before sending event. (I think this would be more reasonable ?)