Add input validation messages using separate dialog boxes.

Test for empty strings and some invalid inputs.
Also adds IP address validation using python's ipaddress module.

Signed-off-by: Michael McCracken <mike.mccracken@canonical.com>