QgisInterface::getFeatureForm() returns a QgsAttributeDialog
And some API comments