Created event to close dropdown

When open another build-select-tree, any other build-select-tree before
opened will be closed.