Only send openComponent event if there is a component being opened