switch to common modal for resigning game, and work around a bootstrap3 bug