Fix parameter forms

Hide parameter if advanced is set to true
Fix number format
Fix set value if min/max check fails
Wrap change event in closure
Fix popover on checkboxes