added window close on signature done