refined InputDialog

- broke sql data insertion :/