onClick function for Dropdown menu triggers twice in Service Catalog