Replaces media window