Modal window

How to make my custom modal window? Thanks.