Input validation check
Fix dirbox bug, change edit dialog button text
Merge branch 'syb'