added sample code snippet and screen shot of modal