Set modals for history and ranking