Add input text dialog, fix issue #5