[support] modalframe api: affecting parent window