Fix modals in FF

As per #121