Added new input fileds.

Added dialogs.
Found runtime exception while use method.