add confirm dialog on select field changes

to avoid saving into wrong page accidently