Customize the new game modal.
Small refactoring to remove code from document ready.