hook up page visibility and if finish sync but now visible do not close, and show startup card