Fix bug in 093b67c1 - repeated content in modals