add close method to book iframe