fix: media picker doesn't modify history state