added numerical input to "add" dialog