Close the child window automatically
After clicking, delay the child window by three seconds