If select component has been opened and subsequently clicked again, it should now be closed.