fix dialog: stop click propagation

Before when we clicked on the dialog, the click was propagated beyound
the dialog, creating some unexpected behaviour. By stopping the
propagation, a click inside the dropdown does not interact with elements
outside the dropdown anymore.
"What happens in the dialog, stays in the dialog."