ADD support for safari download
hide modal view after download