added corners and closeBtn options and examples to dialog