fixed tournament modal to work