Add input dialog
megre from origin branch
add input dialog
fix max and min angels values
Merge pull request #2 from asvitenkov/master

add input dialog