[update] added firefox fix and close behavior