A bunch of shit to get the comments working in modals