Added an input dialog. Work in progress. (#67)