Set up dialog to function as a dialog

Signed-off-by: markinator88 <rutledgemarkr@gmail.com>