Fix bug where compose storage wasn't cleared on page unload (#1489818)