Issue #1990256 by Zarabadoo: Roll in the collapsing form functionality taken from the theme into this here module.