Update flyout to use new close method

Fixes regression from 30cc3736dc6696eb0abc285bf8543eee432e6529