Add NumericEditBox widget
Move Cancel buttons to right side of dialog (Fixes #1715)