Made kdialog input work