ENYO-1996: code review comments, fix console error

- Fix: enyo.Component.addComponent(): Duplicate component name "closeFileButton"

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>