Show data type in input and output confiuration dialogs, and refactored the both code