Correct patching for close button