added close functionality
Merge pull request #10 from Velaport/let-417

added close functionality
let-432: added fix for prefill params on redirect