Restored closing in mozilla