extract modal