Close wizard mode dialog when selection is made.

Signed-off-by: nppangband <nppangbanddev@verizon.net>