Dialog Input Bug Fix

*Commented the code
*Fixed a bug when the user would press "Cancel" and a null value was
being checked in a .equals() statement.