LPS-44543 Tapping each successive icon on the dockbar on a mobile device does not close previous menu

https://issues.liferay.com/browse/LPS-44543