Closing share file pop up automatically.