Fixed "null" error and allowing undefined colors to go through

Before, problems that could happen:
-"null" would be prepended to the list of dragons in your local storage/file, rendering it unparseable, causing problems
(Because I was getting local storage/appending without first checking something was there. Now I check.)
-Dragons could be submitted before colors chosen
(Now it returns false and doesn't close the dialog box and add the dragon.)