open component inHand when creating it through the context menu, minor code review fixes