custom dialog not responsive

custom dialog not responsive .
i test my app in 5 device, but custom dialog not work responsively. so my app is not work in some of device because i set custom dialog close button but that close button is not showing in some of device. please fix it … because it’s very important component for best app UI

Please Specify is this an extension or a component and also show the relevant blocks

After you register the component then set the custom height and width of the component just after the registered comoponent.