Create utility function that creates form field and keeps layout consisted.
Make form fields horizontal.
Fix dialog on mobiles.