I think you are confused with the file names. The /component/path/.content.xml is meant to be the component definition, you cannot add dialog code in there.The /component/path/_cq_dialog/.content.xml is meant to be the dialog's definition. That being said, I think you could potentially use the RTE ...