fix response timing and overlay close