adds close method to init
Merge pull request #47 from stripe/lg-disp-close

adds close method to init