How to shadow the main content

When I press a button and then a window appears. My question is how to shadow the other content. How are you doing this? I know that this is simple question :frowning: Thank you in advance :slight_smile: