replace spinnerDialog with spinnerPlugin