Close functionality and start of ManageReplicates