Share modal box properly works on the setting page