stopPropagation was breaking bootstrap js functionalities