Switch dialog buttons tags from input to button