MT#6299 Introduce confirmation dialog

this is basically backported from the newer ngcp-panel
but using the existing jquery-ui