update position of the dialog when the size is modified
---
update dialog position when size change
---
class added to create a text field that accepts only numeric data
Revert "---"

This reverts commit aeef797fe28389ff0958148e8ebe1a3086df10d5.
Revert "Revert "---""

This reverts commit f956346f85f6754f4161a0867a41aded1f390cf3.