Moving polling to AppModalComp