Fix bug where the alert dialog would not close (#32)
Fix bug where the alert dialog would not close (#32)

Micromodal maintains a reference to the current open dialog in
this.modal. If one dialog is open while opening another, Micromodal
can get confused and maintain a reference to the wrong one.

One of the problems is that the close action is not instantaneous, so
even closing one dialog and opening another immediately after can
cause the problem.

This change adds a small delay before opening the alert dialog to work
around the problem.
whscullin/apple2js,whscullin/apple2js,whscullin/apple2js