allow to mock inputdialog to be able to pass arguments during testing