Disable border / shadow on transient child dialog windows?

Wondering if there is a way to disable borders and/or shadows on transient child dialog windows?

In the case of File Roller’s extraction dialog, there’s not much to match on:

Window 559b235a4f00 -> :
mapped: 1
hidden: 0
at: 994,722
size: 891,176
workspace: 1 (1)
floating: 1
pseudo: 0
monitor: 1
class: org.gnome.FileRoller
title:
initialClass: org.gnome.FileRoller
initialTitle:
pid: 10968
xwayland: 0
pinned: 0
fullscreen: 0
fullscreenClient: 0
grouped: 0
tags:
swallowing: 0
focusHistoryID: 3
inhibitingIdle: 0
xdgTag:
xdgDescription:

I want the border on the app itself, but pretty much any app that has these rounded dialogs I want to be able to disable borders.

Sway does not display a border (by default) in this case. I’m looking to replicate that behavior.

Rules I’ve tried to no avail:

windowrulev2 = bordersize 0, class:^(org.gnome.FileRoller)$, size:[0-9999] 176
windowrulev2 = bordersize 0, class:^(org.gnome.FileRoller)$, size:* 176
windowrulev2 = bordersize 0, class:^(org.gnome.FileRoller)$, title:^$

I really wish the empty title one worked. It should.

you can make a discussion on GH to add a windowrule prop for modals

Thx. Done:

Issue created: Add a windowrule prop for modals · Issue #12023 · hyprwm/Hyprland · GitHub

PR: windowrules: add modal prop by vaxerski · Pull Request #12024 · hyprwm/Hyprland · GitHub

Tested and solved. Window rules can now target modal dialogs.