Allow user to add router, conversation and channel components

I had an issue using `newComponent != null` from the template. Will revisit this and try to figure out what the problem was.