autoclosing upload window